package com.simon.seckill.mq.message;

import java.io.Serializable;

public class SeckillRequestMessage implements Serializable {
    private static final long serialVersionUID = 5810025604361901986L;

    private String phone;

    private String goodRandomName;

    public SeckillRequestMessage() {
        super();
    }

    public SeckillRequestMessage(String phone, String goodRandomName) {
        super();
        this.phone = phone;
        this.goodRandomName = goodRandomName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getGoodRandomName() {
        return goodRandomName;
    }

    public void setGoodRandomName(String goodRandomName) {
        this.goodRandomName = goodRandomName;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("SeckillRequestMessage [mobile=");
        builder.append(phone);
        builder.append(", goodsRandomName=");
        builder.append(goodRandomName);
        builder.append("]");

        return builder.toString();
    }
}
